.class Lcom/nemustech/regina/ElementWorkspaceControlBtn$7;
.super Ljava/lang/Object;
.source "ElementWorkspaceControlBtn.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ElementWorkspaceControlBtn;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V
    .locals 0
    .parameter

    .prologue
    .line 1229
    iput-object p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$7;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V
    .locals 8
    .parameter "object"

    .prologue
    const/4 v7, 0x0

    const/4 v6, 0x1

    const/4 v5, 0x0

    const/4 v4, 0x0

    .line 1233
    const-string v2, "ElementWorkspaceControlBtn"

    const-string v3, "[showBandAid] CALL showBandAidEffectFinish()"

    invoke-static {v2, v3, v6}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1234
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$7;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$600(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v2

    invoke-virtual {v2, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getAngle(I)F

    move-result v0

    .line 1235
    .local v0, angleX:F
    cmpl-float v2, v0, v4

    if-nez v2, :cond_0

    .line 1236
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$7;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2, v5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$502(Lcom/nemustech/regina/ElementWorkspaceControlBtn;I)I

    .line 1237
    invoke-virtual {p1}, Lcom/nemustech/tiffany/world/TFObject;->unlock()V

    .line 1238
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$7;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$600(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v2

    invoke-virtual {v2, v4, v4}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->look(FF)V

    .line 1239
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$7;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$1900(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V

    .line 1241
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$7;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getElementLocator()Lcom/nemustech/regina/ElementLocator;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/ElementLocator;->getCurrentWorkspaceIndex()I

    move-result v1

    .line 1242
    .local v1, curWorkspaceIndex:I
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$7;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getInterceptView()Lcom/nemustech/regina/Intercepter;

    move-result-object v2

    invoke-virtual {v2, v1, v7}, Lcom/nemustech/regina/Intercepter;->convertToElementObjectAllWorkspace(ILcom/nemustech/regina/Element;)V

    .line 1243
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$7;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$600(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v2

    invoke-virtual {v2, v7}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1247
    .end local v1           #curWorkspaceIndex:I
    :goto_0
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$7;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFWorld;->unlock()V

    .line 1248
    return-void

    .line 1245
    :cond_0
    const-string v2, "ElementWorkspaceControlBtn"

    const-string v3, "[showBandAid] CALL showBandAidEffectFinish() BUT Not execute"

    invoke-static {v2, v3, v6}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    goto :goto_0
.end method
